package com.deli.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class CurrentUser implements Serializable {

    private static final long serialVersionUID = -2950797151337980274L;

    private String id;

    private String username;

    private Integer age;

    private String email;

    private String photo;

    private String realName;

    private String createBy;

    private String updateBy;

    private Date createDate;

    private Date updateDate;

    private Byte deflag;
    private List<CurrentMenu> currentMenuList;
    private List<CurrentRole> currentRoleList;

    public CurrentUser(String id, String username, Integer age, String email, String photo, String realName) {
        this.id = id;
        this.username = username;
        this.age = age;
        this.email = email;
        this.photo = photo;
        this.realName = realName;
    }

    public CurrentUser() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Byte getDeflag() {
        return deflag;
    }

    public void setDeflag(Byte deflag) {
        this.deflag = deflag;
    }

    public List<CurrentMenu> getCurrentMenuList() {
        return currentMenuList;
    }

    public void setCurrentMenuList(List<CurrentMenu> currentMenuList) {
        this.currentMenuList = currentMenuList;
    }

    public List<CurrentRole> getCurrentRoleList() {
        return currentRoleList;
    }

    public void setCurrentRoleList(List<CurrentRole> currentRoleList) {
        this.currentRoleList = currentRoleList;
    }

    @Override
    public String toString() {
        return "CurrentUser{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", age=" + age +
                ", email='" + email + '\'' +
                ", photo='" + photo + '\'' +
                ", realName='" + realName + '\'' +
                ", createBy='" + createBy + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", deflag=" + deflag +
                '}';
    }
}
